package com.mathlearning.auth.repository;

import com.mathlearning.auth.entity.Captcha;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.Optional;

@Repository
public interface CaptchaRepository extends JpaRepository<Captcha, Long> {
    Optional<Captcha> findByToken(String token);
}










